Run the Layer 3 Video Surveillance install script

Use the following procedure to run the Layer 3 Video Surveillance install script.

Note

Note

The run vms layer-3 switch command performs the same function as the run vms endura switch command. The switch supports the run vms endura switch command only for backward compatibility.

Before you begin

The switch must be in a factory default state; the switch prompts you to confirm this.

About this task

Use a switch value of 5 for a switch in the network core where the Video Management System (VMS) servers connect. Use a switch value of 6 onwards (until and including 99) for all switches that connect IP Cameras at the network edge/access layer.

For each additional area and switch, increment the switch number by one. For example, use switch 7 for the second edge switch. The configuration uses the number you specify to customize the IP subnet, loopback addresses, and SPB information.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Run the Layer 3 Video Surveillance install script:

    run vms Layer—3 switch <5-99> [syntax | verbose]

Examples

The following example shows the configuration of a switch in the VMS core and shows the configuration file created by the script.

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.

Switch:1(config)#run vms layer-3 switch 5
Do you want to execute the run vms script? Device needs to be in factory default state. (y/n) ? y
CP1  [05/05/17 07:48:33.760:IST] 0x000045e3 00000000 GlobalRouter SNMP INFO Save config successful.
CP1  [05/05/17 07:48:37.951:IST] 0x000045e3 00000000 GlobalRouter SNMP INFO Save config successful.

**Previous configurations stored in pre_vms_install.cfg**
**New VMS configurations stored in new primary config file spb-switch-5.cfg**

*** VMS script execution complete ***
Switch:1(config)#exit
Switch:1#

The following example shows the configuration of a switch at the edge, and shows the configuration file created by the script.

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.

switch:1(config)#run vms layer-3 switch 6
Do you want to execute the run vms script? Device needs to be in factory default state. (y/n) ? y
CP1  [05/05/17 07:54:04.046:IST] 0x000045e3 00000000 GlobalRouter SNMP INFO Save config successful.
CP1  [05/05/17 07:54:05.760:IST] 0x000045e3 00000000 GlobalRouter SNMP INFO Save config successful.

**Previous configurations stored in pre_vms_install.cfg**
**New VMS configurations stored in new primary config file spb-switch-6.cfg**

*** VMS script execution complete ***
Switch:1(config)#exit
Switch:1#

Variable Definitions

The following table defines parameters for the run vms Layer-3 switch command.

Variable

Value

<5-99>

Specifies the numeric switch value used as a common element to configure switch parameters such as name, VLAN ID, SPB, and IP parameters.

Note:

Use a switch value of 5 for a switch in the network core where the Video Management System (VMS) servers are connected. Use a value of 6 onwards (until and including 99) for all switches used for connecting IP Cameras at the network edge/access layer.

syntax

Species that the switch displays all the commands run by the script on the console. Use this parameter to see errors that the script encounters.

Note:

The script does not stop if it encounters errors. To verify that the script runs without errors, use the syntax parameter to display errors or conflicting configurations on the switch.

verbose

Specifies that the switch prompts you to accept or change the default configuration values. If you do not use this optional parameter, the script runs without user intervention.